/************************************************************************/
/*    Author: Scott Bevin                                               */
/************************************************************************/

#pragma once

#include "../SystemComponent.h"

#define XF_FPS_TRACKER_ACCURACY 200

namespace XF
{
	class FPSTracker :
		public SystemComponent
	{
	private:
		float mFPSValues[XF_FPS_TRACKER_ACCURACY];

	public:
		FPSTracker(Application *ownerApp);
		~FPSTracker();

		bool OnInitialise();
		void OnUpdate(double dT);
		void OnShutDown();
	};
}
